package com.oa.system.dao;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import com.oa.system.entity.UserAccount;

/*
 * 查找帐号*/
@Repository
public interface AccountDao extends CrudRepository<UserAccount, Long> {
	UserAccount findByUsernameAndPassword(String username, String password);

	UserAccount findByUsername(String username);
}
